package com.qingcloud.adminbackend.entity.stationgroup;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 用户与设备组关系
 * </p>
 *
 * @author luozehua
 * @since 2018-11-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_user_stationgroup")
public class SysUserStationGroup extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "角色ID")
    private String roleId;

    /**
     * 设备组id
     */
    @ApiModelProperty(value = "设备组id")
    private String groupId;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDt = LocalDateTime.now();
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyDt = LocalDateTime.now();
    @ApiModelProperty(value = "修改人")
    private String modifyBy;


}
